package com.test.bridge_pattern;

public class ShareSun extends Share {

    private String h,w,c;

    public ShareSun(IDrawApi drawApi, String h, String w, String c) {
        super(drawApi);
        this.h = h;
        this.w = w;
        this.c = c;
    }

    public ShareSun(IDrawApi drawApi) {
        super(drawApi);
    }

    @Override
    void draw() {
        super.drawApi.draw(h,w,c);
    }
}
